package net.mikoo.seals.model;

import java.util.Date;

public class Install extends BaseModel {

	private static final long serialVersionUID = 7090671103072825893L;

	private Long installId;

	private Long companyId;

	private Long sealId;

	private Long devicesId;

	/**
	 * 申请时间
	 */
	private Date applyTime;

	/**
	 * 安装时间
	 */
	private Date installTime;

	/**
	 * 安装状态：待审核、已通过、已拒绝
	 */
	private String installStatus;

	/**
	 * 申请人id
	 */
	private Long partyId;

	/**
	 * 审核人
	 */
	private Long verifyPartyId;

	/**
	 * 审核事情
	 */
	private Date verifyTime;

	private String verifyRemark;

	/**
	 * 安装类型 重装 初始化安装
	 */
	private String installType;

	private Devices devices;
	private Staff staff;
	
	private Seal seal;
	
	private Person person; 

	public Install() {

	}

	public Long getInstallId() {
		return installId;
	}

	public void setInstallId(Long installId) {
		this.installId = installId;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public Long getSealId() {
		return sealId;
	}

	public void setSealId(Long sealId) {
		this.sealId = sealId;
	}

	public Long getDevicesId() {
		return devicesId;
	}

	public void setDevicesId(Long devicesId) {
		this.devicesId = devicesId;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public Date getInstallTime() {
		return installTime;
	}

	public void setInstallTime(Date installTime) {
		this.installTime = installTime;
	}

	public String getInstallStatus() {
		return installStatus;
	}

	public void setInstallStatus(String installStatus) {
		this.installStatus = installStatus;
	}

	public Long getPartyId() {
		return partyId;
	}

	public void setPartyId(Long partyId) {
		this.partyId = partyId;
	}

	public Long getVerifyPartyId() {
		return verifyPartyId;
	}

	public void setVerifyPartyId(Long verifyPartyId) {
		this.verifyPartyId = verifyPartyId;
	}

	public Date getVerifyTime() {
		return verifyTime;
	}

	public void setVerifyTime(Date verifyTime) {
		this.verifyTime = verifyTime;
	}

	public String getVerifyRemark() {
		return verifyRemark;
	}

	public void setVerifyRemark(String verifyRemark) {
		this.verifyRemark = verifyRemark;
	}

	public String getInstallType() {
		return installType;
	}

	public void setInstallType(String installType) {
		this.installType = installType;
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Seal getSeal() {
		return seal;
	}

	public void setSeal(Seal seal) {
		this.seal = seal;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Devices getDevices() {
		return devices;
	}

	public void setDevices(Devices devices) {
		this.devices = devices;
	}

	@Override
	public String toString() {
		return "Install [installId=" + installId + ",companyId=" + companyId + ",sealId=" + sealId + ",devicesId=" + devicesId + ",applyTime=" + applyTime + ",installTime=" + installTime + ",installStatus="
				+ installStatus + ",partyId=" + partyId + ",verifyPartyId=" + verifyPartyId + ",verifyTime=" + verifyTime + ",verifyRemark=" + verifyRemark + ",installType=" + installType + "]";
	}
}
